home *** CD-ROM | disk | FTP | other *** search
- Path: sydney.DIALix.oz.au!not-for-mail
- From: sad@sydney.DIALix.oz.au (John Heenan)
- Newsgroups: comp.lang.c++
- Subject: Re: help sending data to comm port
- Date: 24 Mar 1996 10:57:51 +1100
- Organization: DIALix Services, Sydney, Australia.
- Sender: sad@sydney.DIALix.oz.au
- Message-ID: <4j235v$jn7$1@sydney.DIALix.oz.au>
- References: <4iuuha$66n@poisson.nosc.mil>
-
- Richard Lay (lay@cod.nosc.mil) wrote:
- : Hi all! I've written a little program in Borland C++ 4.5 and
- : would like to send the output bits to a comm port for access by
- : another device. How do I do this? I don't even know where to
- : begin to look to find out how to do something like this. Any
- : advice or references are appreciated! Thanks!
-
-
- Hi Rich
-
- Since you are using Borland you are clearly compiling for a DOS or
- Windows platform.
-
- If your program is run from the command line then you might be able to
- start it with an output redirection, for example: prog > com1. You can
- initialise the com port first with a mod command.
-
- John Heenan
- --
- +----------------------------------------------------------------+
- | John Heenan, Sydney Australia john@valentia.dialix.oz.au |
- | John's WWW pages have the controversial SWIM FAQ (and speech!) |
- | http://sydney.dialix.oz.au/~sad |
- +----------------------------------------------------------------+
-
-
-